package com.wuli.food.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wuli.food.dto.TypeDto;
import com.wuli.food.entity.FoodType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wuli.food.vo.TypeAddVo;
import com.wuli.food.vo.TypeSearchVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiongqiaoqiao
 * @since 2023-05-18
 */
public interface FoodTypeService extends IService<FoodType> {

    String add(TypeAddVo addVo);

    IPage<TypeDto> search(TypeSearchVo searchVo);

    TypeDto getDetail(String id);

    void deleteById(String id);
}
